# @Time : 2021/9/19 21:21
# @Author : lsy
# @Contact: 363925670@qq.com
# 用户数据
class UserInfo:
    def __init__(self):
        self.user_id = -1         # 用户id -1非法
        self.user_name = ""       # 用户名
        self.password_sha1 = ""   # sha1 加密后的密码
        self.priv = -1            # 权限级别  -1非法
        self.home_dir = ""        # 用户主目录
        self.email = ""           # 电子邮件
        self.phone = ""           # 电话号码
        self.group_name = ""      # 组名称